﻿<!--#include file="head.asp"--> 
<tr>
<td>
<!--body外边框开始-->
<table width="70%" align="center" cellpadding="18">
<tr><td class="td_vlign">
<div id="xsnazzy">
<b class="xtop"><b class="xb1"></b><b class="xb2 left_bg"></b><b class="xb3 left_bg"></b><b class="xb4 left_bg"></b></b>
<div class="xboxcontent left_bg">
<%
dim infoid
infoid=request.QueryString("infoID")
if infoid="" then
%>
<h1>普通话模拟卷</h1>
<p>根据普通话准备中提供的相应信息，结合测试的相关标准，精心为你挑选测试用模拟试卷，让你通过模拟测试卷的内容，了解普通话水平测试的难易程度。</p>
<h2 style="color:White;">请在列表中选择模拟测试卷</h2>
<%
dim sql,rs
sql="select * from info where catID=30 and [delete]=0"
set rs=GetRecordset(sql,0)
if not rs.eof and not rs.bof then
do while not rs.eof
%>
<p><a href="mock.asp?infoID=<%=rs("infoID")%>"><%=rs("infoTitle")%></a></p>
<%
rs.movenext
loop
rs.close
set rs=nothing
end if
else
sql="select * from info where infoID="&infoid&" and [delete]=0"
set rs=GetRecordset(sql,0)
if not rs.eof and not rs.bof then
if rs("needLogin")="True" then
if IsLogin then
%>
<h1><%=rs("infoTitle")%></h1>
<div><%=rs("infoContent")%></div>
<%
else showMsg "您无权查看该信息",3,""
response.Write("<script language='javascript'>window.location='mock.asp';</script>")
end if
else
%>
<h1><%=rs("infoTitle")%></h1>
<div><%=rs("infoContent")%></div>
<%
end if
end if
end if
%>
</div>
<b class="xbottom"><b class="xb4 left_bg"></b><b class="xb3 left_bg"></b><b class="xb2 left_bg"></b><b class="xb1"></b></b>
</div>
</td>
</tr></table>
<!--body外边框结束-->
</td>
</tr>
<!--#include file="foot.asp"-->